package com.zut.fitness.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class UserMembershipCard implements Serializable
{
    private static final long serialVersionUID = 1L;



    private Long id;



    private Long userId;



    private Long cardId;

    /** 购买时间 */
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")

    private Date purchaseDate;

    /** 过期时间 */
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")

    private Date expiryDate;

    /** 状态 */

    private String status;

}
